package actions;

import java.awt.Image;
import model.Turtle;
import view.Pen;

/**
 * Represents the change in the property of a turtle, such as its visibility or
 * its pen color.
 */
public class PropertyAction extends AbstractAction
{

    public final boolean visible;
    public final Pen newPen;
    public final Image newImage;

    public PropertyAction(Turtle turtle, boolean visible, Pen pen,
            Image newImage)
    {
        super(turtle);

        this.visible = visible;
        this.newPen = pen;
        this.newImage = newImage;
    }

}
